﻿// ===================================
// The use and distribution terms for this software are covered by the Microsoft public license, 
// visit for more info : http://testcommander.codeplex.com 
// 
// You must not remove this copyright notice, or any other, from this software
// 
// Senthil Maruthaiappan  senips@gmail.com
// ===================================

using QAPro.Test.Interfaces;
using QAPro.Test.Library;
using QAPro.Test.TreeNodes;
using QAPro.TestCommander;

namespace QAPro.Test.FitCommander
{
    public class TestServiceContext : ServiceContext
    {
        public override void RegisterServicesManually()
        {
            Services.AddService<IPersistanceTreeNode>(typeof (TreeViewTreeNode));
            Services.AddService<IPersistanceTreeNode>(typeof (TreeViewTreeNode));

            Services.AddService<IFixtureTable>(typeof (FixtureTable));
            Services.AddService<IFixtureTextData>(typeof (FixtureTextData));
            Services.AddService<IFixtureResult>(typeof (FixtureResult));
            Services.AddService<ISuite>(typeof (Suite));
            Services.AddService<ITestCase>(typeof (TestCase));
            Services.AddService<ITestLink>(typeof (TestLink));
        }
    }
}